﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AbstractFactoryPattern.SkinBank
{
    /// <summary>
    /// Spring 皮肤工厂，充当具体工厂
    /// </summary>
    class SpringSkinFactory : ISkinFactory
    {
        public IButton CreateButton()
        {
            return new SpringButton();
        }

        public IComboBox CreateComboBox()
        {
            return new SpringComboBox();
        }

        public ITextFiled CreateTextFiled()
        {
            return new SpringTextFiled();
        }
    }
}
